﻿/*******************************************************************************
* Copyright (C) JuCheap
* 
* Author: JuCheap
* Create Date: 10/18/2019 11:54:03
* Description:  
* 
* Revision History:
* Date         Author               Description
*
*********************************************************************************/

using System.ComponentModel.DataAnnotations;

namespace JuCheap.Core.Model
{
    /// <summary>
    /// 角色菜单授权模型
    /// </summary>
    public class RoleMenuSetRequestDto
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        [Display(Name = "角色Id")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string RoleId { get; set; }

        /// <summary>
        /// 菜单Id集合
        /// </summary>
        public string[] MenuIds { get; set; }
    }
}
